package com.wlyuan.open.scanner.domain.order;

import com.wlyuan.open.scanner.domain.BaseDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

/**
 * @author lijing
 * @description
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class Order extends BaseDomain {

    private Long id;

    @ApiModelProperty("订单基本信息")
    private OrderInfo info;
    @ApiModelProperty("发货人信息")
    private OrderFrom from;
    @ApiModelProperty("收货人信息")
    private OrderEnd to;
    @ApiModelProperty("运输要求")
    private OrderRequirement requirement;
    @ApiModelProperty("车辆信息")
    private OrderVehicle vehicle;
    @ApiModelProperty("订单附件信息")
    private List<OrderAttach> attachments;
    @ApiModelProperty("订单物品信息")
    private List<OrderGoods> goodsList;
    @ApiModelProperty("订单交通信息")
    private List<OrderTransport> transports;
    @ApiModelProperty("电子回单信息")
    private OrderReceiptDevice orderReceiptDevice;

}
